package com.jadeen.entity.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.jadeen.common.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 用户反馈信息对象 feedback
 * 
 * @author jadeen
 * @date 2025-09-15
 */
public class Feedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 反馈ID */
    private Long feedbackId;

    /** 用户ID */
    private Long userId;

    /** 反馈类型 */
    private String feedbackType;

    /** 反馈标题 */
    private String title;

    /** 反馈内容 */
    private String content;

    /** 反馈图片 */
    private String images;

    /** 联系方式 */
    private String contactWay;

    /** 处理状态 */
    private String status;

    /** 优先级 */
    private String priority;

    /** 处理人ID */
    private Long handlerId;

    /** 处理备注 */
    private String handlerRemark;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date handleTime;

    /** 删除标志 */
    private String delFlag;

    public void setFeedbackId(Long feedbackId) 
    {
        this.feedbackId = feedbackId;
    }

    public Long getFeedbackId() 
    {
        return feedbackId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setFeedbackType(String feedbackType) 
    {
        this.feedbackType = feedbackType;
    }

    public String getFeedbackType() 
    {
        return feedbackType;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setImages(String images) 
    {
        this.images = images;
    }

    public String getImages() 
    {
        return images;
    }

    public void setContactWay(String contactWay) 
    {
        this.contactWay = contactWay;
    }

    public String getContactWay() 
    {
        return contactWay;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setPriority(String priority) 
    {
        this.priority = priority;
    }

    public String getPriority() 
    {
        return priority;
    }

    public void setHandlerId(Long handlerId) 
    {
        this.handlerId = handlerId;
    }

    public Long getHandlerId() 
    {
        return handlerId;
    }

    public void setHandlerRemark(String handlerRemark) 
    {
        this.handlerRemark = handlerRemark;
    }

    public String getHandlerRemark() 
    {
        return handlerRemark;
    }

    public void setHandleTime(Date handleTime) 
    {
        this.handleTime = handleTime;
    }

    public Date getHandleTime() 
    {
        return handleTime;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("feedbackId", getFeedbackId())
            .append("userId", getUserId())
            .append("feedbackType", getFeedbackType())
            .append("title", getTitle())
            .append("content", getContent())
            .append("images", getImages())
            .append("contactWay", getContactWay())
            .append("status", getStatus())
            .append("priority", getPriority())
            .append("handlerId", getHandlerId())
            .append("handlerRemark", getHandlerRemark())
            .append("handleTime", getHandleTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
